<div class="tableToolbar">
    <div class="coll-md-9" id="addInput">
        <div class="coll-md-2">
            <input type="text" class='search' placeholder="姓名/流水号/用户名/手机号" ng-model="ctrlScope.itemsearch.commonCond">
        </div>
        <div class="coll-md-2 scalenone" id="search2">
            <!--<div class="coll-md-5 triangle">-->
                <!--<select class="form-control" ng-model="ctrlScope.itemsearch.type">-->
                    <!--<option selected value="" disabled hidden>类型</option>-->
                    <!--<option value="1">T+0到账</option>-->
                    <!--<option value="2">D+0到账</option>-->
                    <!--<option value="3">T+1到账</option>-->
                <!--</select>-->
            <!--</div>-->
            <div class="coll-md-10 triangle">
                <select class="form-control" ng-model="ctrlScope.itemsearch.status">
                    <option selected value="" disabled hidden>状态</option>
                    <option value="0">失败</option>
                    <option value="1">成功</option>
                    <option value="2">审核中</option>
                </select>
            </div>
        </div>
        <div class="coll-md-4 scalenone"  id="searchdate" datahide>
            <div class="coll-md-5" >
                <p class="input-group">
                    <input type="text" class="search" placeholder="开始时间" uib-datepicker-popup="yyyy-MM-dd"
                           ng-model="ctrlScope.itemsearch.beginDateTimex" is-open="popup1.opened" datepicker-options="dateOptions"/>
						<span class="input-group-btn">
							            <button type="button" class="small-icon btn btn-default" ng-click="open1()"><i
                                                class="glyphicon glyphicon-calendar"></i></button>
							          </span>
                </p>
            </div>
            <div class="coll-md-5">
                <p class="input-group inline">
                    <input type="text" class="search" placeholder="结束时间" uib-datepicker-popup="yyyy-MM-dd"
                           ng-model="ctrlScope.itemsearch.endDateTimex" is-open="popup2.opened" datepicker-options="dateOptions"/>
						<span class="input-group-btn">
							            <button type="button" class="small-icon btn btn-default" ng-click="open2()"><i
                                                class="glyphicon glyphicon-calendar"></i></button>
							          </span>
                </p>
            </div>
        </div>
        <div class="coll-md-1">
            <input type="button" class="small-icon search2-icon" value="搜索" ng-click="search()">
            <input type="button" class="small-icon search2" value="搜索">
            <input type="button" class="small-icon reset-icon" reset-icon value="重置" ng-click="reset()">
            <input type="button" class="small-icon reset" value="重置">

            <div class="dropdown-menu-right">
                <input type="button" class="small-icon more-icon" value="更多" title='更多搜索项' id="more-icon" data-toggle="dropdown"
                       aria-haspopup="true" aria-expanded="false">
                <input type="button" class="small-icon more" value="更多">
                <ul class="dropdown-menu" style='margin-left:80px;' aria-labelledby="dropdownMenu2" more-search>
                    <li><a href="javascript:;">日期搜索</a></li>
                    <li><a href="javascript:;">类型状态搜索</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="coll-md-1">
        <button class="small-icon btn btn-default pos-right" id="itemExport" ng-click="download()">
            <i class="fa fa-download"></i>
        </button>
    </div>
</div>
<table  style="margin-bottom:20px;width: 30%">
    <tr>
        <td class="blue">
            <h6>总提现金额</h6>
            <h4 ng-model="show.cashAccount">{{show.cashAccount}}元</h4>
        </td>
        <td class="red">
            <h6>待审核金额</h6>
            <h4 ng-model="show.cashAuditAccount">{{show.cashAuditAccount}}元</h4>
        </td>
    </tr>
</table>
<table ui-table="orderParams">
    <thead>
    <tr>
        <th>用户名</th>
        <th>真实姓名</th>
        <th>手机号</th>
        <th>流水号</th>
        <th>所属银行</th>
        <th>银行卡号</th>
        <th>提现金额(元)</th>
        <th>到账金额(元)</th>
        <th>提现费用(元)</th>
        <th>类型</th>
        <th>状态</th>
        <th>添加时间</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="item in orderParams.$rows">
        <td>
            <span ng-if="item.username">{{item.username}}</span>
            <span ng-if="item.sysUsername">{{item.sysUsername}}</span>
        </td>
        <td>{{item.realname}}</td>
        <td>{{item.mobile}}</td>
        <td>{{item.orderNo}}</td>
        <td>{{item.bankName}}</td>
        <td>{{item.cardNo}}</td>
        <td>{{item.cashAmount}}</td>
        <td>{{item.actualAmount}}</td>
        <td>{{item.feeAmount}}</td>
        <td>{{item.cashType | withdrawalType}}</td>
        <td>{{item.cashStatus | rechargeStatus}}</td>
        <td>{{item.addtime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
        <td>
            <!--<a ng-if='item.cashStatus==2'  ng-click="openCheckModal(item.orderNo,item.cashAmount)">订单查询</a>-->
        </td>
        <!--<td>-->
        	<!--<a ng-if='item.cashStatus==2' ng-click="modifyModal(item.orderNo,item.cashStatus)">通过</a>-->
        	<!--<a ng-if='item.cashStatus==2' ng-click="deleteModal(item.orderNo,item.cashStatus)">驳回</a>-->
        	<!--<span ng-if="item.cashStatus !=2">已审核</span>-->
        <!--</td>-->
    </tr>
    </tbody>
</table>

<!--<modal title="查询订单" visible="checkModal">
    <form class="form-horizontal" role="form" name="myForm" novalidate ng-submit="addItem(myForm.$invalid)">
        <div class="form-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4">查询结果：</label>
                        <div class="col-md-8" style="line-height: 36px;">
                            {{add.respSubdes}}
                        </div>
                    </div>
                </div>
                <div class="col-md-6">

                </div>
            </div>
            <div class="row">

                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4">补单状态：</label>
                        <div class="col-md-8">
                            <select class="form-control" ng-model="add.status" ui-select2="select2Options" disabled>
                                <option value="F">失败</option>
                                <option value="S">成功</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4">密码：</label>
                        <div class="col-md-8">
                            <input class="form-control" type="password" ng-model="add.password" required>
                        </div>
                    </div>
                </div>
            </div>
            <div class="buttonArea col-md-12">
                <button type="submit" class="btn blue" ng-disabled="myForm.$invalid">补单</button>
            </div>

        </div>
    </form>
</modal>-->
